import request from '@/utils/request'

// 查询日志报表列表
export function listBusinesslog(query) {
  return request({
    url: '/crmsys/businesslog/list',
    method: 'get',
    params: query
  })
}

// 查询日志报表详细
export function getBusinesslog(id) {
  return request({
    url: '/crmsys/businesslog/' + id,
    method: 'get'
  })
}

// 新增日志报表
export function addBusinesslog(data) {
  return request({
    url: '/crmsys/businesslog',
    method: 'post',
    data: data
  })
}

// 修改日志报表
export function updateBusinesslog(data) {
  return request({
    url: '/crmsys/businesslog',
    method: 'put',
    data: data
  })
}

// 删除日志报表
export function delBusinesslog(id) {
  return request({
    url: '/crmsys/businesslog/' + id,
    method: 'delete'
  })
}
